package com.heqiang.service;

import com.heqiang.domain.Role;
import com.heqiang.mapper.RoleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RoleService {
    @Autowired
    RoleMapper mapper;
    public List<Role> findAll(Role role){
        return mapper.findAll(role);
    }
}
